package com.xm.share.mapper;

import java.util.List;

import com.xm.share.model.Comment;
import com.xm.share.model.vo.CommentDto;

public interface CommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

	List<CommentDto> findCommentDtosBySharedId(Long id);
}